Skip to content

fix(ui): place window controls by host OS - #1922

Merged
ZhuchkaTriplesix merged 1 commit into
epic/tauri-migrationfrom
issue/titlebar-os-controls
Nov 15, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
epic/tauri-migrationfrom
issue/titlebar-os-controls

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Rust host_platform + resolvePlatform() for real OS (not flaky UA alone).
  • Title bar always start | center | end: macOS lights left, Win/Linux caption buttons right.
  • Fixes the old grid that shoved the brand left on Linux when the left controls column was empty.

GitFlow

  • Base: epic/tauri-migration

Test plan

  • pnpm typecheck / pnpm build
  • Linux: min/max/close on the right; title centered; ☰ on the left
  • macOS (when available): traffic lights on the left

Detect platform via Rust host_platform (UA fallback) and keep a stable
three-region title bar: macOS traffic lights on the left, Win/Linux caption
buttons pinned on the right, title centered.
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 5b32e73 into epic/tauri-migration Nov 15, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/titlebar-os-controls branch November 15, 2026 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant